const express = require('express');
const app = express();
const path = require('path')

const allRouter = require('./router');

app.use(express.static(path.join(__dirname,'./dist')));
app.use('/api',allRouter);

app.listen(2003,()=>{
    console.log('server is running on port 2003');
})